# 蝴蝶
DOPPLE_BUTTERFLY = [
    # 蝴蝶刀伽马多普勒P1
    {
        "item_name": "★ Butterfly Knife | Gamma Doppler",
        "keyWords": "P1",
        "templateId": "62272",
        "def_index": "515",
        "paint_index": "569",
    },
    # 蝴蝶刀伽马多普勒P2
    {
        "item_name": "★ Butterfly Knife | Gamma Doppler",
        "keyWords": "P2",
        "templateId": "62272",
        "def_index": "515",
        "paint_index": "570",
    },
    # 蝴蝶刀伽马多普勒P3
    {
        "item_name": "★ Butterfly Knife | Gamma Doppler",
        "keyWords": "P3",
        "templateId": "62272",
        "def_index": "515",
        "paint_index": "571",
    },
    # 蝴蝶刀伽马多普勒P4
    {
        "item_name": "★ Butterfly Knife | Gamma Doppler",
        "keyWords": "P4",
        "templateId": "62272",
        "def_index": "515",
        "paint_index": "572",
    },
    # 蝴蝶刀多普勒P1
    {
        "item_name": "★ Butterfly Knife | Doppler",
        "keyWords": "P1",
        "templateId": "45985",
        "def_index": "515",
        "paint_index": "418",
    },
    # 蝴蝶刀多普勒P2
    {
        "item_name": "★ Butterfly Knife | Doppler",
        "keyWords": "P2",
        "templateId": "45985",
        "def_index": "515",
        "paint_index": "618",
    },
    # 蝴蝶刀多普勒P3
    {
        "item_name": "★ Butterfly Knife | Doppler",
        "keyWords": "P3",
        "templateId": "45985",
        "def_index": "515",
        "paint_index": "420",
    },
    # 蝴蝶刀多普勒P4
    {
        "item_name": "★ Butterfly Knife | Doppler",
        "keyWords": "P4",
        "templateId": "45985",
        "def_index": "515",
        "paint_index": "421",
    },
]

# 爪子
DOPPLE_KARAMBIT = [
    # 爪子刀伽马多普勒P1
    {
        "item_name": "★ Karambit | Gamma Doppler",
        "keyWords": "P1",
        "templateId": "43529",
        "def_index": "507",
        "paint_index": "569",
    },
    # 爪子刀伽马多普勒P2
    {
        "item_name": "★ Karambit | Gamma Doppler",
        "keyWords": "P2",
        "templateId": "43529",
        "def_index": "507",
        "paint_index": "570",
    },
    # 爪子刀伽马多普勒P3
    {
        "item_name": "★ Karambit | Gamma Doppler",
        "keyWords": "P3",
        "templateId": "43529",
        "def_index": "507",
        "paint_index": "571",
    },
    # 爪子刀伽马多普勒P4
    {
        "item_name": "★ Karambit | Gamma Doppler",
        "keyWords": "P4",
        "templateId": "43529",
        "def_index": "507",
        "paint_index": "572",
    },
    # 爪子刀多普勒P1
    {
        "item_name": "★ Karambit | Doppler",
        "keyWords": "P1",
        "templateId": "1785",
        "def_index": "507",
        "paint_index": "418",
    },
    # 爪子刀多普勒P2
    {
        "item_name": "★ Karambit | Doppler",
        "keyWords": "P2",
        "templateId": "1785",
        "def_index": "507",
        "paint_index": "419",
    },
    # 爪子刀多普勒P3
    {
        "item_name": "★ Karambit | Doppler",
        "keyWords": "P3",
        "templateId": "1785",
        "def_index": "507",
        "paint_index": "420",
    },
    # 爪子刀多普勒P4
    {
        "item_name": "★ Karambit | Doppler",
        "keyWords": "P4",
        "templateId": "1785",
        "def_index": "507",
        "paint_index": "421",
    },
]

# M9
DOPPLE_M9 = [
    # M9刺刀伽马多普勒P1
    {
        "item_name": "★ M9 Bayonet | Gamma Doppler",
        "keyWords": "P1",
        "templateId": "47847",
        "def_index": "508",
        "paint_index": "569",
    },
    # M9刺刀伽马多普勒P2
    {
        "item_name": "★ M9 Bayonet | Gamma Doppler",
        "keyWords": "P2",
        "templateId": "47847",
        "def_index": "508",
        "paint_index": "570",
    },
    # M9刺刀伽马多普勒P3
    {
        "item_name": "★ M9 Bayonet | Gamma Doppler",
        "keyWords": "P3",
        "templateId": "47847",
        "def_index": "508",
        "paint_index": "571",
    },
    # M9刺刀伽马多普勒P4
    {
        "item_name": "★ M9 Bayonet | Gamma Doppler",
        "keyWords": "P4",
        "templateId": "47847",
        "def_index": "508",
        "paint_index": "572",
    },
    # M9刺刀多普勒P1
    {
        "item_name": "★ M9 Bayonet | Doppler",
        "keyWords": "P1",
        "templateId": "754",
        "def_index": "508",
        "paint_index": "418",
    },
    # M9刺刀多普勒P2
    {
        "item_name": "★ M9 Bayonet | Doppler",
        "keyWords": "P2",
        "templateId": "754",
        "def_index": "508",
        "paint_index": "419",
    },
    # M9刺刀多普勒P3
    {
        "item_name": "★ M9 Bayonet | Doppler",
        "keyWords": "P3",
        "templateId": "754",
        "def_index": "508",
        "paint_index": "420",
    },
    # M9刺刀多普勒P4
    {
        "item_name": "★ M9 Bayonet | Doppler",
        "keyWords": "P4",
        "templateId": "754",
        "def_index": "508",
        "paint_index": "421",
    },
]

# 锯齿爪刀
DOPPLE_TALON = [
    # 锯齿爪刀多普勒P1
    {
        "item_name": "★ Talon Knife | Doppler",
        "keyWords": "P1",
        "templateId": "45517",
        "def_index": "523",
        "paint_index": "852",
    },
    # 锯齿爪刀多普勒P2
    {
        "item_name": "★ Talon Knife | Doppler",
        "keyWords": "P2",
        "templateId": "45517",
        "def_index": "523",
        "paint_index": "853",
    },
    # 锯齿爪刀多普勒P3
    {
        "item_name": "★ Talon Knife | Doppler",
        "keyWords": "P3",
        "templateId": "45517",
        "def_index": "523",
        "paint_index": "854",
    },
    # 锯齿爪刀多普勒P4
    {
        "item_name": "★ Talon Knife | Doppler",
        "keyWords": "P4",
        "templateId": "45517",
        "def_index": "523",
        "paint_index": "855",
    },
]

# 刺刀
DOPPLE_BAYONET = [
    # 刺刀多普勒P1
    {
        "item_name": "★ Bayonet | Doppler",
        "keyWords": "P1",
        "templateId": "1681",
        "def_index": "500",
        "paint_index": "418",
    },
    # 刺刀多普勒P2
    {
        "item_name": "★ Bayonet | Doppler",
        "keyWords": "P2",
        "templateId": "1681",
        "def_index": "500",
        "paint_index": "419",
    },
    # 刺刀多普勒P3
    {
        "item_name": "★ Bayonet | Doppler",
        "keyWords": "P3",
        "templateId": "1681",
        "def_index": "500",
        "paint_index": "420",
    },
    # 刺刀多普勒P4
    {
        "item_name": "★ Bayonet | Doppler",
        "keyWords": "P4",
        "templateId": "1681",
        "def_index": "500",
        "paint_index": "421",
    },
    # 刺刀伽马多普勒P1
    {
        "item_name": "★ Bayonet | Doppler",
        "keyWords": "P1",
        "templateId": "46874",
        "def_index": "500",
        "paint_index": "569",
    },
    # 刺刀伽马多普勒P2
    {
        "item_name": "★ Bayonet | Doppler",
        "keyWords": "P2",
        "templateId": "46874",
        "def_index": "500",
        "paint_index": "570",
    },
    # 刺刀伽马多普勒P3
    {
        "item_name": "★ Bayonet | Doppler",
        "keyWords": "P3",
        "templateId": "46874",
        "def_index": "500",
        "paint_index": "571",
    },
    # 刺刀伽马多普勒P4
    {
        "item_name": "★ Bayonet | Doppler",
        "keyWords": "P4",
        "templateId": "46874",
        "def_index": "500",
        "paint_index": "572",
    },
]

# 折叠刀
DOPPLE_FLIP = [
    # 折叠刀多普勒P1
    {
        "item_name": "★ Flip Knife | Doppler",
        "keyWords": "P1",
        "templateId": "43574",
        "def_index": "505",
        "paint_index": "418",
    },
    # 折叠刀多普勒P2
    {
        "item_name": "★ Flip Knife | Doppler",
        "keyWords": "P2",
        "templateId": "43574",
        "def_index": "505",
        "paint_index": "419",
    },
    # 折叠刀多普勒P3
    {
        "item_name": "★ Flip Knife | Doppler",
        "keyWords": "P3",
        "templateId": "43574",
        "def_index": "505",
        "paint_index": "420",
    },
    # 折叠刀多普勒P4
    {
        "item_name": "★ Flip Knife | Doppler",
        "keyWords": "P4",
        "templateId": "43574",
        "def_index": "505",
        "paint_index": "421",
    },
    # 折叠刀伽马多普勒P1
    {
        "item_name": "★ Flip Knife | Gamma Doppler",
        "keyWords": "P1",
        "templateId": "45238",
        "def_index": "505",
        "paint_index": "569",
    },
    # 折叠刀伽马多普勒P2
    {
        "item_name": "★ Flip Knife | Gamma Doppler",
        "keyWords": "P2",
        "templateId": "45238",
        "def_index": "505",
        "paint_index": "570",
    },
    # 折叠刀伽马多普勒P3
    {
        "item_name": "★ Flip Knife | Gamma Doppler",
        "keyWords": "P3",
        "templateId": "45238",
        "def_index": "505",
        "paint_index": "571",
    },
    # 折叠刀伽马多普勒P4
    {
        "item_name": "★ Flip Knife | Gamma Doppler",
        "keyWords": "P4",
        "templateId": "45238",
        "def_index": "505",
        "paint_index": "572",
    },
]

# 短剑
DOPPLE_STILETTO = [
    # 短剑多普勒P1
    {
        "item_name": "★ Stiletto Knife | Doppler",
        "keyWords": "P1",
        "templateId": "45912",
        "def_index": "522",
        "paint_index": "418",
    },
    # 短剑多普勒P2
    {
        "item_name": "★ Stiletto Knife | Doppler",
        "keyWords": "P2",
        "templateId": "45912",
        "def_index": "522",
        "paint_index": "419",
    },
    # 短剑多普勒P3
    {
        "item_name": "★ Stiletto Knife | Doppler",
        "keyWords": "P3",
        "templateId": "45912",
        "def_index": "522",
        "paint_index": "420",
    },
    # 短剑多普勒P4
    {
        "item_name": "★ Stiletto Knife | Doppler",
        "keyWords": "P4",
        "templateId": "45912",
        "def_index": "522",
        "paint_index": "421",
    },
]

# 弯刀
DOPPLE_FALCHION = [
    # 弯刀多普勒P1
    {
        "item_name": "★ Falchion Knife | Doppler",
        "keyWords": "P1",
        "templateId": "43705",
        "def_index": "512",
        "paint_index": "418",
    },
    # 弯刀多普勒P2
    {
        "item_name": "★ Falchion Knife | Doppler",
        "keyWords": "P2",
        "templateId": "43705",
        "def_index": "512",
        "paint_index": "419",
    },
    # 弯刀多普勒P3
    {
        "item_name": "★ Falchion Knife | Doppler",
        "keyWords": "P3",
        "templateId": "43705",
        "def_index": "512",
        "paint_index": "420",
    },
    # 弯刀多普勒P4
    {
        "item_name": "★ Falchion Knife | Doppler",
        "keyWords": "P4",
        "templateId": "43705",
        "def_index": "512",
        "paint_index": "421",
    },
    # 弯刀伽马多普勒P1
    {
        "item_name": "★ Falchion Knife | Gamma Doppler",
        "keyWords": "P1",
        "templateId": "62063",
        "def_index": "512",
        "paint_index": "569",
    },
    # 弯刀伽马多普勒P2
    {
        "item_name": "★ Falchion Knife | Gamma Doppler",
        "keyWords": "P2",
        "templateId": "62063",
        "def_index": "512",
        "paint_index": "570",
    },
    # 弯刀伽马多普勒P3
    {
        "item_name": "★ Falchion Knife | Gamma Doppler",
        "keyWords": "P3",
        "templateId": "62063",
        "def_index": "512",
        "paint_index": "571",
    },
    # 弯刀伽马多普勒P4
    {
        "item_name": "★ Falchion Knife | Gamma Doppler",
        "keyWords": "P4",
        "templateId": "62063",
        "def_index": "512",
        "paint_index": "572",
    },
]

# 熊刀
DOPPLE_URSUS = [
    # 熊刀多普勒P1
    {
        "item_name": "★ Ursus Knife | Doppler",
        "keyWords": "P1",
        "templateId": "3745",
        "def_index": "519",
        "paint_index": "418",
    },
    # 熊刀多普勒P2
    {
        "item_name": "★ Ursus Knife | Doppler",
        "keyWords": "P2",
        "templateId": "3745",
        "def_index": "519",
        "paint_index": "419",
    },
    # 熊刀多普勒P3
    {
        "item_name": "★ Ursus Knife | Doppler",
        "keyWords": "P3",
        "templateId": "3745",
        "def_index": "519",
        "paint_index": "420",
    },
    # 熊刀多普勒P4
    {
        "item_name": "★ Ursus Knife | Doppler",
        "keyWords": "P4",
        "templateId": "3745",
        "def_index": "519",
        "paint_index": "421",
    },
]

DOPPLE = (
    DOPPLE_BUTTERFLY
    + DOPPLE_KARAMBIT
    + DOPPLE_M9
    + DOPPLE_TALON
    + DOPPLE_BAYONET
    + DOPPLE_FLIP
    + DOPPLE_STILETTO
    + DOPPLE_FALCHION
    + DOPPLE_URSUS
)

DOPPLE_PARAMS = []
for index, knife in enumerate(DOPPLE):
    DOPPLE_PARAMS.append(
        {
            "item_name": f'{knife["item_name"]} (Factory New)',
            "keyWords": knife["keyWords"],
            "templateId": knife["templateId"],
            "def_index": knife["def_index"],
            "paint_index": knife["paint_index"],
            "category": "1",
            "max_float": "0.07",
        }
    )
